package com.lichuandi.entity;

import jdk.jfr.DataAmount;

public class Responded {
    private String code;
    private String name;
    private String message;
    private Object data;

    public Responded() {
        this.code = "0";
        this.name = "";
        this.message = "";
        this.data = null;
    }
    public Responded(String code, String name, String message, Object data) {
        this.code = code;
        this.name = name;
        this.message = message;
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
